/*
 * PathEmpty.java
 *
 * Created on January 2, 2008, 9:36 PM
 *
 * Copyright (C) 2007-2008  Hylke van der Schaaf
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, in version 3 of the License.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package hextd.wave;

import hextd.core.Context;
import java.awt.Graphics2D;

/**
 *
 * @author hylke
 */
public class PathEmpty implements Path {

    float x = 0;
    float y = 0;

    /** Creates a new instance of PathEmpty */
    public PathEmpty() {
    }

	@Override
	public void setContext(Context c) {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	@Override
    public float getBaseDelay() {
        return 0f;
    }

	@Override
    public void finalise() {
    }

    public void setPoint(float x, float y) {
        this.x = x;
        this.y = y;
    }

	@Override
    public float[] getStep(int step) {
        float[] retVal = {x, y};
        return retVal;
    }

	@Override
    public int[] getStepHexCoords(int step) {
        return null;
    }

	@Override
    public boolean isSelected() {
        return false;
    }

	@Override
    public void setSelected(boolean selected) {
    }

	@Override
    public int length() {
        return 1;
    }

	@Override
    public int getTargetUser() {
        return -1;
    }

	@Override
    public int getOwner() {
        return -1;
    }

	@Override
    public void paint(Graphics2D g2, int gameTime) {
    }

	@Override
    public void resetScale() {
    }
}
